//
//  NYHomeTableSectionView.h
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/1/4.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol NYHomeTableSectionDelegate;

typedef NS_ENUM(NSUInteger, NYHomeEntryStatus) {
    NYHomeEntryExcellent,
    NYHomeEntryNew
};

@interface NYHomeTableSectionView : UITableViewHeaderFooterView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
                               delegate:(id<NYHomeTableSectionDelegate>)delegate withEntryStatus:(NYHomeEntryStatus)status;


@end

@protocol NYHomeTableSectionDelegate <NSObject>

- (void)selectTheNYHomeEntryStatus:(NYHomeEntryStatus)entryType;
@end
